package com.gzu.emr.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author chuchu
 * @version 1.0
 * @date 2023-07-20
 **/
@Data
@Schema(name = "确诊信息")
public class Diagnosis {
    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "病历号")
    private Integer medicalRecordId;

    @Schema(description = "确诊结果")
    private String result;

    @Schema(description = "治疗建议")
    private String suggestion;

    @Schema(description = "注意事项")
    private String attention;

    @Schema(description = "确诊日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
}
